import service.Connector;
import service.Connector2;
import titt.TITT;


public class Initializer {

	public static void main(String[] args) throws Exception {
		
		TITT.config(8080, "kkloud.com");
		
//		TITTServer.start();
		
		//to avoid race condition.
//		Thread.sleep(100);
		
		TITT.startWebServer();
		
		TITT.register(new Connector2(), "connector");
	}
	
}
